/**
 * 
 */
package fhq.hcmute.edu.vn.config;

import java.io.Serializable;

/**
 * @author nglehien Nov 18, 2012 - 9:44:20 PM
 */
public class PictureFrameSetting implements Serializable {

	public static int AUTOMATIC = 0;
	public static int BALANCED = 1;
	public static int QUALITY = 2;
	public static int SPEED = 3;
	public static int ULTRA_QUALITY = 4;
	private static final long serialVersionUID = -1918135840384694561L;
	private boolean isSavePicture = false;
	private int scaleMethod = AUTOMATIC;

	public PictureFrameSetting() {
		this.isSavePicture = false;
		this.scaleMethod = AUTOMATIC;
	}

	public PictureFrameSetting(boolean isSavePicture, int scaleMethod) {
		this.isSavePicture = isSavePicture;
		this.scaleMethod = scaleMethod;
	}

	public boolean isSavePicture() {
		return isSavePicture;
	}

	public void setSavePicture(boolean isSavePicture) {
		this.isSavePicture = isSavePicture;
	}

	public int getScaleMethod() {
		return scaleMethod;
	}

	public void setScaleMethod(int scaleMethod) {
		this.scaleMethod = scaleMethod;
	}

}
